package com.zmn.oms.persistence.interfaces.conf.attachment;


import com.zmn.oms.model.entity.conf.attachment.WorkOrderPictureStandard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkOrderPictureStandardDao {

    int deleteByPrimaryKey(Integer standardId);

    int insert(WorkOrderPictureStandard record);

    int batchInsert(List<WorkOrderPictureStandard> list);

    int insertSelective(WorkOrderPictureStandard record);

    WorkOrderPictureStandard selectByPrimaryKey(Integer standardId);

    int updateByPrimaryKeySelective(WorkOrderPictureStandard record);

    int updateByPrimaryKey(WorkOrderPictureStandard record);

    List<WorkOrderPictureStandard> listStandardByRelateId(@Param("relateIds") List<Integer> relateIds);

    int deleteByQuery(WorkOrderPictureStandard query);
}